@extends('home.base.index')
@section('content')
<script type="text/javascript" src="{{ asset('publics/jquery-1.8.3.min.js') }}"></script>
<div style="margin:20px;width:100%;height:20px"></div>
<div class="container">
     @foreach($list as $vg)
    <li class="brick-item brick-item-m" style="list-style-type:none;width:225px;">
        <div class="figure figure-img">
            <a href='{{ url("$vg->path") }}?id={{$vg->goodsid}}' data-stat-method="1_1" data-stat-index="0" data-stat-text="20000mAh小米移动电源2" target="_blank" data-stat-pid="stat_首页.搭配热门_0_1_1" data-stat-aid="20000mAh小米移动电源2" data-stat-id="20000mAh小米移动电源2+stat_首页.搭配热门_0_1_1" onclick="_msq.push(['trackEvent', '79fe2eae924d2a2e-20000mAh小米移动电源2+stat_首页.搭配热门_0_1_1', '//item.mi.com/1164900027.html', 'pcpid']);">
                <img src="{{ url('uploads') }}/{{ $vg->picture }}?width=100&height=100" alt="20000mAh小米移动电源2" width="150" height="150">
            </a>
        </div>
        <h3 class="title">
            <a href='{{ url("$vg->path") }}?id={{$vg->goodsid}}' data-stat-method="1_1" data-stat-index="0" data-stat-text="20000mAh小米移动电源2" target="_blank" data-stat-pid="stat_首页.搭配热门_0_1_1" data-stat-aid="20000mAh小米移动电源2" data-stat-id="20000mAh小米移动电源2+stat_首页.搭配热门_0_1_1" onclick="_msq.push(['trackEvent', '79fe2eae924d2a2e-20000mAh小米移动电源2+stat_首页.搭配热门_0_1_1', '//item.mi.com/1164900027.html', 'pcpid']);">{{ $vg->goodsname }}</a>
        </h3>
        <p class="price">
            <span class="num">{{ $vg->price }}</span>
            元
        </p>
        <p class="rank">552人评价</p>
        <div class="flag flag-new">{{ $vg->subtitle }}</div>
    </li>
    @endforeach
</div>
@stop
